import request from "@/utils/request"
/*/**
 * @description:查询总用户
 * @param {type} null
 * @return: promise
 */
export function ApiGetUserTotal() {
  return request({
    url: `/system/user/total`,
    method: 'get'
  })
}
/*/**
 * @description:查询总文章
 * @param {type} null
 * @return: promise
 */
export function ApiGetArticleTotal() {
  return request({
    url: `/article/article/total`,
    method: 'get'
  })
}
/*/**
 * @description:查询总提问
 * @param {type} null
 * @return: promise
 */
export function ApiGetQuestionTotal() {
  return request({
    url: `/question/question/total`,
    method: 'get'
  })
}
/*/**
 * @description:查询各分类下的文章数
 * @param {type} null
 * @return: promise
 */
export function ApiGetCategoryTotal() {
  return request({
    url: `/article/article/category/total`,
    method: 'get'
  })
}
/*/**
 * @description:查询近6个月发布的文章数
 * @param {type} null
 * @return: promise
 */
export function ApiGetMonthArticleTotal() {
  return request({
    url: `/article/article/month/total`,
    method: 'get'
  })
}
